The numbered portion of a heading in its own frame cannot be included in conditional text
Windows 10 InDesign version 13.1 x64 (CC up-to-date)
I created a sequentially numbered head using bullets and numbering in Style editor. Placed the head in its own frame at the top of a page (# mark at the end of the head). Selected the head (variously using click-drag and 4-click) Only the directly entered text highlighted - not the numbered portion, not the # symbol. I applied a text condition. When the condition was made invisible, the directly-entered text disappeared as expected, but the numbered portion of the text ("Section 9:") did not. Numerous attempts to select the numbered portion and the # symbol did not work. I even tried selecting the entire frame. I finally had to link that frame to the following text frame and give the heading a paragraph marker rather than a story-end marker. That allowed the text to disappear as expected -- but the side-effect was that the following text "rose up" into the area of the original text frame. Now I have to come up with a solution to prevent that happening when the condition that shows the heading is turned off.