YAML supports inline comments, but does not support block comments.
Comments begin with the number sign (
#), can start anywhere on a line, and continue until the end of the line
A comparison with JSON, also from Wikipedia:
/* ... */comments. Handling such edge cases may require light pre-processing of the JSON before parsing as in-line YAML.
# If you want to write # a block-commented Haiku # you'll need three pound signs