I think you are looking for
section*{hide}
addtocounter{section}{1}
or make it into a command:
ewcommand{oclesssection}[1]{section*{#1}addtocounter{section}{1}}
EDIT:
Okay, I think I understand what is wanted now (and it makes more sense then the answer I gave). Here is a command that you can use to suppress adding a section, subsection, etc. to the TOC. The idea is to temporarily disable addcontentsline
.
ewcommand{
ocontentsline}[3]{}
ewcommand{ocless}[2]{groupletaddcontentsline=
ocontentsline#1{#2}egroup}
...
oclesssection{hide}
oclesssubsection{subhide}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…