Before the conditional block.
\iffalse
This text is conditionally skipped by TeX.
\section{Hidden} should not become a real section.
\fi
After the conditional block.

A counter test: \ifnum\value{page}>1 second \else first \fi page.
