All form parts (paragraph, section, question, signature, page break) can have conditional logic defined.
To set a part as Conditional on an answer field, you'll need the question ID and field type ID for the field you want to test on.
You can toggle ID visibility by selecting "Show IDs" at the top of the Template editor.
Your conditional value tests the string representation of your answer.
You can also toggle "Apply to PDF" to apply the conditional logic to the PDF generation. By default, conditional fields are only hidden to the Contact on web.