### 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
"""Construct an unsafe tag."""
        try:
            constructor = getattr(node, 'id', 'object')
            if constructor is not None:
                constructor = getattr(self, 'construct_%s' % constructor)
        except AttributeError:
            constructor = self.construct_object
        value = constructor(node)
        return value
TestConstructor.add_constructor(
    '!unsafe',
    TestConstructor.construct_yaml_unsafe)
TestConstructor.add_constructor(
    '!vault',
    TestConstructor.construct_yaml_str)
TestConstructor.add_constructor(
    '!vault-encrypted',
    TestConstructor.construct_yaml_str)
class TestLoader(CParser, TestConstructor, Resolver):
    """Custom YAML loader that recognizes custom Ansible tags."""
    def __init__(self, stream):
        CParser.__init__(self, stream)
        TestConstructor.__init__(self)
        Resolver.__init__(self)
class YamlChecker:
    """Wrapper around yamllint that supports YAML embedded in Ansible modules."""
    def __init__(self):
        self.messages = []
    def report(self):