Commenting in Markdown uses the same syntax as HTML, thus the <!-- comment here -->
.
Example
Single line comment
01: ## Heading
02: Some text here
03:
04: <!-- comment -->
05:
06: some more text
Multiline comment
01: ## Heading
02: Some text here
03:
04: <!-- comment line 1
05: comment line 2
06: comment line 3
07: -->
08:
09: some more text
Here is another article you might like 😊 How To Change All Markdown Bold Titles Into Headers In VS Code