If you do not want a title to appear in the Contents window, use the hide attribute. The heading definition would be entered like this:

:h3 hide.
Another Third-Level Heading

Note: Your source file must contain at least one heading tag without the hide attribute.