About the "hidden text", i assume you're talking about wikicode comments. If so, choose "Comment" in the "Insert" menu of the visual editor, or source-edit your page with a code like this:
<!-- A comment on one line -->
<!--
A comment
on many lines
-->