In YAML, you can easily create multi-line strings. However, I would like the ability to create a multi-line array (mainly for readibility within config files) using the
Following Works for me and its good from readability point of view when array element values are small:
key: [string1, string2, string3, string4, string5, string6]
Note:snakeyaml implementation used