YAML Unmarshal preserve comments for nodes in the data structure

When using the Unmarshal function to convert YAML file to data in Hugo, is it possible to preserve comments before, inline, after nodes in the YAML file?
The comments could be used to document the data nodes in the YAML file.

No, it is not.

Thank you for confirming, there is some conversation about trying to do something like this Sphinx extension in Hugo. GitHub - Jakski/sphinxcontrib-autoyaml: Sphinx autodoc extension for documenting YAML files from comments

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.