You can comment out parts of a document by surrounding the text to comment out with `word This only appears in edit mode. word

This only appears in edit mode. %%

Source: help.obsidian.md