If you do not want to print a certain substitution line, then tick this line in the column "Don't Print (N)" in the substitution view.

Caution: Do not print certain subjects
If you have ticked "Don't Print (N)" at a subject in the master data then all substitutions with this subject will not be printed.