### 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 statement for a documentation assignment."""
            for target in statement.targets:
                if not isinstance(target, ast.Name):
                    continue
                if doc_types and target.id not in doc_types:
                    continue
                fmt_match = fmt_re.match(statement.value.value.lstrip())
                fmt = 'yaml'
                if fmt_match:
                    fmt = fmt_match.group(1)
                docs[target.id] = dict(
                    yaml=statement.value.value,
                    lineno=statement.lineno,
                    end_lineno=statement.lineno + len(statement.value.value.splitlines()),
                    fmt=fmt.lower(),
                )
        module_ast = self.parse_module(path, contents)
        if not module_ast:
            return {}
        is_plugin = path.startswith('lib/ansible/modules/') or path.startswith('lib/ansible/plugins/') or path.startswith('plugins/')
        is_doc_fragment = path.startswith('lib/ansible/plugins/doc_fragments/') or path.startswith('plugins/doc_fragments/')
        if is_plugin and not is_doc_fragment:
            for body_statement in module_ast.body:
                if isinstance(body_statement, ast.Assign):
                    check_assignment(body_statement, module_doc_types)
        elif is_doc_fragment:
            for body_statement in module_ast.body:
                if isinstance(body_statement, ast.ClassDef):
                    for class_statement in body_statement.body:
                        if isinstance(class_statement, ast.Assign):