The engine, rather than Quarto, handles those code options, so even though the code won't be executed, the engine needs to be started to figure that out.
To avoid Quarto attempting to use Python at all set the engine to markdown in the document header:
---
title: Example
engine: markdown
---