### Summary

EXAMPLES are intended to be copy-and-paste ready.

While most of the documentation is expected to be a single document, it's reasonable to expect that within examples (especially for inventory plugins), there may be multiple documents in there.  If only a single document is permitted, then when multiple examples are added for an inventory plugin, attempting to lint the YAML results in key-duplicates errors.

See also https://github.com/ansible/ansible-lint/issues/3860

### Issue Type

Feature Idea

### Component Name

ansible-test

### Additional Information



```yaml (paste below)
EXAMPLES = r""" 
---

# Example using groups to assign the running hosts to a group based on vpc_id
plugin: amazon.aws.aws_ec2
profile: aws_profile
# Populate inventory with instances in these regions
regions:
  - us-east-2
filters:
  # All instances with their state as `running`
  instance-state-name: running
keyed_groups:
  - prefix: tag
    key: tags
compose:
  ansible_host: public_dns_name
groups:
  libvpc: vpc_id == 'vpc-####'

---

# Define prefix and suffix for host variables coming from AWS.
plugin: amazon.aws.aws_ec2
regions:
  - us-east-1
hostvars_prefix: 'aws_'
hostvars_suffix: '_ec2'
"""
```


### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
"""Check the given module."""
        docs = self.get_module_docs(path, contents)
        for key, value in docs.items():
            yaml_data = value['yaml']
            lineno = value['lineno']
            fmt = value['fmt']
            if fmt != 'yaml':
                continue
            if yaml_data.startswith('\n'):
                yaml_data = yaml_data[1:]
                lineno += 1
            self.check_parsable(path, yaml_data, lineno)
            messages = list(linter.run(yaml_data, conf, path))
            self.messages += [self.result_to_message(r, path, lineno - 1, key) for r in messages]
    def check_parsable(self, path, contents, lineno=1):  
        """Check the given contents to verify they can be parsed as YAML."""
        try:
            yaml.load(contents, Loader=TestLoader)
        except MarkedYAMLError as ex:
            self.messages += [{'code': 'unparsable-with-libyaml',
                               'message': '%s - %s' % (ex.args[0], ex.args[2]),
                               'path': path,
                               'line': ex.problem_mark.line + lineno,
                               'column': ex.problem_mark.column + 1,
                               'level': 'error',
                               }]
    @staticmethod
    def result_to_message(result, path, line_offset=0, prefix=''):