<!--- Verify first that your improvement is not already reported on GitHub -->
<!--- Also test if the latest release and devel branch are affected too -->
<!--- Complete *all* sections as described, this form is processed automatically -->

##### SUMMARY
<!--- Explain the problem briefly below, add suggestions to wording or structure -->
On the following page: https://docs.ansible.com/ansible/latest/reference_appendices/config.html
In the first 'Note:' section there is the following text:
```
# some basic default values...
inventory = /etc/ansible/hosts  ; This points to the file that lists your hosts
```
When I paste only the above line in a new ~/.ansible.cfg file, I get the following warning message for the ansible ping command:
```
[host]> ansible all -m ping
[WARNING]: Unable to parse /etc/ansible/hosts  ; This points to the file that lists your
hosts as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit
localhost does not match 'all'
```

When I remove the comment text starting from ';' to the end of the line from the file '~/.ansible.cfg' and re-run the command, the above issue is resolved.

<!--- HINT: Did you know the documentation has an "Edit on GitHub" link on every page ? -->
_Btw, the 'Edit on GitHub' in the above link takes me to a 404 Not Found page._

##### ISSUE TYPE
- Documentation Report

##### COMPONENT NAME
<!--- Write the short name of the rst file, module, plugin, task or feature below, use your best guess if unsure -->
docs.ansible.com website

##### ANSIBLE VERSION
<!--- Paste verbatim output from "ansible --version" between quotes -->
```paste below
ansible 2.10.6
<removed personally identifiable information from the output>
  python version = 3.8.2 (default, Dec 21 2020, 15:06:04) [Clang 12.0.0 (clang-1200.0.32.29)]
```

##### CONFIGURATION
<!--- Paste verbatim output from "ansible-config dump --only-changed" between quotes -->
```paste below
DEFAULT_HOST_LIST <this is the only line, but I've removed personally identifiable information here>
```

##### OS / ENVIRONMENT
<!--- Provide all relevant information below, e.g. OS version, browser, etc. -->
Chrome browser

##### ADDITIONAL INFORMATION
<!--- Describe how this improves the documentation, e.g. before/after situation or screenshots -->

<!--- HINT: You can paste gist.github.com links for larger files -->

I'm a new user of ansible but I believe the comment guidance on the above-mentioned link is an error.

from yaml import load as yaml_load
try:
    
    from yaml import CSafeLoader as SafeLoader
except ImportError:
    from yaml import SafeLoader
from ansible.config.data import ConfigData
from ansible.errors import AnsibleOptionsError, AnsibleError
from ansible.module_utils._text import to_text, to_bytes, to_native
from ansible.module_utils.common._collections_compat import Mapping, Sequence
from ansible.module_utils.six import PY3, string_types
from ansible.module_utils.six.moves import configparser
from ansible.module_utils.parsing.convert_bool import boolean
from ansible.parsing.quoting import unquote
from ansible.parsing.yaml.objects import AnsibleVaultEncryptedUnicode
from ansible.utils import py3compat
from ansible.utils.path import cleanup_tmp_file, makedirs_safe, unfrackpath
Plugin = namedtuple('Plugin', 'name type')
Setting = namedtuple('Setting', 'name value origin type')
INTERNAL_DEFS = {'lookup': ('_terms',)}
def _get_entry(plugin_type, plugin_name, config):
    ''' construct entry for requested config '''
    entry = ''
    if plugin_type:
        entry += 'plugin_type: %s ' % plugin_type
        if plugin_name:
            entry += 'plugin: %s ' % plugin_name
    entry += 'setting: %s ' % config
    return entry
def ensure_type(value, value_type, origin=None):