How not to render content as a page

I am very new to hugo so I cannot speak from an implementer’s perspective but from an end user’s perspective a straight forward way could be to use Front-Matter that works similar to the draft variable, e.g. like Jekyll uses

---
published: false
---