I want to hide some text but :
I don't want the hidden text to take space
I still want that LaTeX parse the content (to keep numbering)
I have found this solution :
\vphantom{\hphantom{text}}
This work perfectly but is there any better way to do it (I feel like latex probably already have a command for that and I just need to find it's name) ?

\includeonlyto specify which sections you want to use. All numbering is then preserved. – David Carlisle Aug 07 '19 at 20:59\includeonlymight work in some case but not all because it require a new page. – Matheod Aug 07 '19 at 21:02