How to escape hash (#) character in a multi-line string in yaml?

Viewed 4128

I need to do something like the following:

description: |-
    #This is not a comment#
    Some more text.

But of course the first line is interpreted as a comment by the yaml parser. I cannot use double quotes here since I need this to be multiline.

What can I do to achieve this?

Thanks.

1 Answers
Related