1 Answers
Comments
- An explicit comment is denoted b the syntax #.
- Comments are separated from other tokens wit white spaces.
- Comment lines appear independently outside of scalar content and only white space character is considered to be a comment line
Example:
# This is a comment
Multi-line comments
- YAML doesn’t support multi-line comments, but you can write comments in multiple lines. Example:
# this comment# is written in# multiple lines