Markup for non-exporting comments

There is a Markdown workaround that does allow us to add comments to notes that won’t appear in exported PDFs, etcetera, but it is cumbersome:

[//]: # (text of comment)

A less cumbersome solution would be a boon!

Wow this is cool! I didn’t know this existed. For now you, could use the built in “text replacement” feature of macOS to drop this into a Bear note.

That’s a good idea, thanks! I’d prefer the code to be more sparse, though, like

%% comment

1 Like

That would be compatible to obsidian. As far as I know many other editors use the percent sign as markup for comments. The initial suggestion is not that cumbersome if you use a text replacement app. Nevertheless that trick doesn’t allow inline comments, it just work at creating comment blocks.

I support that request, mainly for the reason that it is compatible to obsidian. The question is if comments with percent sign as markup are compliant to common mark. Does an extension exist at all?