The YAML spec states that comments should not impact serialization or representation, and are not tied to any particular node. As such, YAML parsers that follow the spec, or try to closely follow the spec, discard comments.
The ansible project utilizes PyYAML which is the official Python YAML parser, and as such, discards comments.
ruamel.yaml however, does have functionality to try and keep comments, but the ansible project does not use this parser.
Effectively, you would have to be bound by a non-spec YAML parser, to enable the functionality you want to use. A community project could implement this, however you will run into issues where something like yamllint, and ruamel.yaml will disagree on formatting, so you'll need to manually adjust them afterwards.