The point of closing a question is that it cannot receive any new answers. That's because it has problems that effectively prevent a useful answer.
As such questions with broken code can be considered questions that shouldn't be answered.
The point you raise here is somewhat understandable, and seems well intentioned, but there is a problem with it:
Answering a question sends the signal that these questions are "okay" for this site. The point is. They aren't. Code is rather binarily broken (or not). This is to simplify understanding and enforcement of that rule. Allowing "minor broken" on the site would make this a game of drawing a line in the sand.
That makes for a bad user-experience for any user. Those involved in moderation and those "moderated". Lines drawn in the sand are not transparent. The goal of close-reasons is the opposite.
Let's not draw lines in the sand and keep our simple "binary" rules, even though that model may be oversimplifying things