Commenting middle of list does not work as expected

Steps to reproduce

  • Create a list
  • Comment a sub-section of the list
  • Preview

Expected result

I would expect the comment in Markdown to be like a Python code comment, it is completely ignored. but instead, the comment is treated like a white space.

Actual result

The list when Preview’d should continue past the comments homogeneously. Instead, the text becomes red, meaning the section commented in Markdown is treated like a space.


  • Operating system: Ubuntu 18
  • Obsidian version: .11.13

Additional information

I am not sure I consider this a bug and Markdown blocks are different from python’s way of handling things.
We’ll have to think about this.
Please, open a feature request.