# \[Bug\] Using the properties menu deletes YAML comments from the frontmatter

**URL:** <https://forum.obsidian.md/t/bug-using-the-properties-menu-deletes-yaml-comments-from-the-frontmatter/69048>\
**Category:** Help\
**Tags:** properties\
**Created:** [October 9, 2023, 9:16pm UTC](https://forum.obsidian.md/t/bug-using-the-properties-menu-deletes-yaml-comments-from-the-frontmatter/69048 "2023-10-09T21:16:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [October 9, 2023, 10:25pm UTC](https://forum.obsidian.md/t/bug-using-the-properties-menu-deletes-yaml-comments-from-the-frontmatter/69048/2 "2023-10-09T22:25:56Z")

</div>

It’s not that recent.

> [@API: processFrontMatter removes string quotes, comments, types, formatting](https://forum.obsidian.md/t/api-processfrontmatter-removes-string-quotes-comments-types-formatting/65851/6):
>
> So we’ve had long debates about this, and it mostly comes down to a trade-off between allowing user to store arbitrary comments and formatting in the YAML, vs making it not painful for plugins to interact with YAML. I will say that it is rather unfortunate that YAML became the most popular way markdown documents store metadata. YAML is difficult to write by hand because it provides way too many options to write the same thing, and there’s a lot of “gotchas” such as reserved keywords, the many m…

Moved to help.

---

_[View the full topic](https://forum.obsidian.md/t/bug-using-the-properties-menu-deletes-yaml-comments-from-the-frontmatter/69048)._
