Disabling specific pages

Does anyone know of a way to disable specific pages from rendering without setting them to draft? The use scenarios could be various, but in my case there are some pages that I want to disable but keep within the repo for potential future use. Another scenario could be that a person has several draft pages but doesn’t want them all rendered by server, thus keeping server draft rendering as clean as possible.

Ideally there would be an elegant solution such as being able to set a front matter item, e.g disable = true.

Hopefully that makes sense. Any advice is appreciated.

AFAIK adding the following to the frontmatter of the page should work:

_build:
 list: false
 render: false