%YAML 1.1 --- - name: spec-06-04 yaml: |+ key: # Comment # lines value tree: | +STR +DOC +MAP =VAL :key =VAL :value -MAP -DOC -STR - name: spec-06-04-canonical yaml: | %YAML 1.1 --- !!map { ? !!str "key" : !!str "value" } tree: | +STR +DOC --- +MAP {} =VAL "key =VAL "value -MAP -DOC -STR