comment in yml file code example

Example 1: How to comment in Yaml

# this is single line comment.

#Also,
#Yaml Dosent Support multiline comments
#So you might have to comment multiple lines in this way

Example 2: yaml comment

# this is a line comment

# Yaml does not support block-comments

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.)

Tags:

Misc Example