github.com/chainguard-dev/yam@v0.0.7/pkg/yam/testdata/format/comments.yaml (about)

     1  # This is a comment that spans
     2  # multiple lines.
     3  a:
     4    # initial comment
     5    - 1
     6    - 2
     7  
     8    # And finally
     9    - 3
    10    # Trailing comment.
    11  
    12    - "And here's a string!"
    13    - |
    14      And a multi-line
    15      string, too!
    16  
    17  
    18  
    19  b:
    20    # comment before a mapping
    21    - this: is cool
    22      and: this is also cool