Yes, code-only answers are VLQ here, because the SO is not a code snippet sharing site. We use meaningful, well-formulated, human communication to share our thoughts. It is a much higher level of the communication, as writing a question on a semi-literate level, and then answering it with a code snippet.
Typically beginner programmers tend to think, that communicating purely in code snippets is a HQ thing, but it is not. In our minds, there are still human concepts and human terminology. We are thinking on a human language. Communicating in source code is not an advanced level of communication, it is a degradation of it.
Not doing with code-only answers anything (at least voting them down, or maybe flagging them as VLQ) breaks windows, i.e. it encourages others (typically VLQ posters) to follow this bad behavior.
The StackExchange does a pretty amazing job to enforce these "young titans" to learn to formulate in round, natural language sentences, if they missed to learn this skill in the elementary school.