Draft Sections
Select a Section, enable Settings > Advanced > Draft, and save. The Section and descendants stay editable but are excluded from front-end output.

Disable Draft and save to restore them. This is a Section control, not a Heading control or WordPress publication setting.
For width-based visibility use Hide On Breakpoint; for content/visitor rules use Conditions.