I agree with this request but would like the outline to still render comments. I use comment-only headings to mark scenes in fiction so I can see the overview in the outline (and so I can fold the sections).
Example: ## <!--5. Franz tells how his injury happened.-->
I like having the markup for them in the outline so I know they’re comments, but it’s not crucial — the text is what matters.