Query display content

I have a search query

query
tags: #quote

When I have the #quote in a list - the list item is displayed, but when I have #quote in the file properties - the quote is not displayed. How can I make the quote display regardless of whether it is in properties or the list?

How are the tags written in the YAML/Properties? e.g.

---
tags:
  - quote
  - review
---

and

---
tags:
  - "#quote"
  - "#review"
---

will work:

https://help.obsidian.md/Editing+and+formatting/Tags


But writing them like this:

---
tags:
  - #quote
  - #review
---

will not as the # character starts a comment in YAML.

Comments begin with the number sign ( # ), can start anywhere on a line, and continue until the end of the line

Wikipedia

Oh, I see, that sucks:(