yaml comments code example
Example 1: yaml comment
# this is a line comment
# Yaml does not support block-comments
Example 2: yaml comments
# this is single line comment.
#Also,
#Yaml Dosent Support multiline comments
#So you might have to comment multiple lines in this way
Example 3: comment in yaml
In order to add comments to a YAML file, you simply have to use the # (hashtag symbol) at the start of the line.
Example:
# yaml.load(Quick brown fox jumped over the lazy dog.)