Open
Description
It would be nice to have a way to preserve yaml comments perhaps invisibly cache them to a .yamljsoncache
file whenever converting from yaml to json, so that when converting back the same element position before or after an element can receive the comment. There may not be anything on npm that does this, granted, and the method of either adding the comment to the element, when converting to json also keep an extension with .jsonc
or something indicating comment support and including it inline //
or multi-line /* */