Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In YAML, how do I make a comment over multiple lines [duplicate]

Tags:

comments

yaml

I know that you can make a single line comment in YAML by using the # tag, but I haven't been able to find something like /* in java that starts a comment & has to be finished off with a */. Does such an operator exist in YAML?

like image 726
Logan Kling Avatar asked Dec 14 '22 19:12

Logan Kling


1 Answers

YAML does not support multiple line comments. If you want to use them. You can just try

# this
# is a multiple
# line comment
like image 186
Shamal Sandeep Avatar answered Feb 23 '23 16:02

Shamal Sandeep