Live preview embeds commented out embeded notes

Steps to reproduce:

  1. Embed a note.
  2. Comment it out
%%![[link to note]]%%

Expected result:
In live preview mode, only the actual link text and comment is visible, not the embedded note content.

Actual result
The embedded note’s contents are visible (embedded) within the comment.

I don’t agree on this being a bug.

+1 I agree with WhiteNoise that this doesn’t seem like a bug. It would be very confusing if Live Preview hid your comments. It would be impossible to find them without moving your cursor around the document. I think comments should only be hidden in Reading mode.