A code-only answer may be infused with helpful and instructive comments the answerer felt would be more useful if nestled among the code. Enforcing some non-code-block character limit outside it would harm those answers while encouraging the "Try this" people to try to cheat it with:
Try this........................
In code-only questions, we already often see a sentence added to the bottom
I added this because it won't let me post only code...
I added this because it won't let me post only code...
...and we'll just end up with the same noise applied to answers (which is arguably even worse).
If an answer has a poor explanation or no explanation, downvote it (even if it's functionally correct!). Include a comment as to why you downvoted it and the answerer will quickly learn not to do that. You won't change their behavior with an arbitrary limit. You'll change it with your votes.