API: processFrontMatter removes string quotes, comments, types, formatting

the automtatic removal of comments is incredibly annoying and poorly chosen. using dataveiew to filter based on frontmatter fields is incredibly powerful. It allows the easy creation and handling of specialized notes of many different types while consistently handling notes of a given type. The downside of this is that frontmatter can get fairly complex. comments allow one to quickly review frontmatter and make sure the right fields are on a given note and create consistency across notes. further, for those using LLMs to interacting with obsidian, comments allow the LLM to more efficiently understand a note type and work across note types.

automatically removing comments creates unexpected behavior for the user, makes vault management more difficult, and is problematic for more sophisticated use cases. there has to be a way to solve the API issue without automatically deleting user content and kneecapping obsidian’s potential