This question already has an answer here:
I'd like to be able to do the following:
* A story about airplanes ** Chapter one *** # Introduce the main character Billy was a nice boy etc ... *** # Set the scene One day Billy stumbled upon a paper airplane..
In other words, I want to be able to write prose and use headings with their expand/collapse capability to give hints to myself about what I'm trying to say in a given paragraph/section, but when exporting I don't want these to be treated as headings that should be part of the text.
Is this possible?
According to this page lines starting with # are treated as comments. But when they are headings they are still exported.