YAML Multi-Line Arrays

A YAML sequence is an array. So this is the right way to express it: That’s identical in meaning to: It’s also legal to split a single-line array over several lines: and even have multi-line strings in single-line arrays:

How do you do block comments in YAML?

YAML supports inline comments, but does not support block comments. From Wikipedia: 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: The syntax differences are subtle and seldom arise in practice: JSON allows extended … Read more