May I ask why the comment syntax requires a closing %% and doesn’t auto-close on a newline? My notes contain comments like this:
%% The following section contains:
%% - a
%% - b
%% - c
%%
%% Note the odd number of comment lines. This whole comment block would break apart in Obsidian.
Both are quite standard comment syntax methods in code, but I know that Obsidian focuses on HTML & CSS output where it does not. Still, my main note taking app (Ulysses) supports this, matching that common behavior.
This also allows for easy toggling of comments on/off with the standard hotkey of Ctrl/Cmd+/, because it just means toggling the presence of %% (including a space) either at the start of the line, or at the start of the text (for indented text).
I reckon the engineering might be harder to implement now that the existing syntax has been launched, but I would love if it could be supported, maybe via a setting to toggle between the two styles? I don’t know if a plugin could handle this.