Similarly in assemble-language, beginners often have problems that they think are in one part, but it turns out the full context is important because of something their bootloader / toy OS did earlier in its setup, or in some interaction they don't understand between functions. (i.e. beginners are nearly incapable of reducing their code to an actual MCVE, or if they were they'd have already found the problem and not posted. Also, most users that need help with debugging don't really understand the concept of a MCVE).
A useful middle ground is to provide what they think is a MCVE in a code block, but still link to their full code on pastebin or github, or wherever else.
People that choose to answer such questions may need to see the full code (or actually pull it from github to debug locally if they're feeling ambitious, and yes that does happen sometimes, for at least one user who's written most of the long canonical [bootloader] answers on SO).
But critically, often the resulting answer can be useful to future readers without the full code, if said answer quotes or talks about the other relevant parts of the full code if there were any. This is the real point of the requirement. The fact that future readers may not be able to get the full code themselves isn't ideal, but it's not a showstopper and doesn't mean the question needs to be closed, if there's a useful answer to a specific problem that the question is about. (If you think the question won't have future value to Stack Overflow for other readers, go ahead and downvote.)
Questions like these don't tend to be ones that would be useful to write new answers for in the future, so it's not a disaster if the link to the full code dies after an answer exists, as long as the answer has enough detail. (Although that's perhaps because my experience of such Q&As has been with x86 PC legacy-BIOS MBR bootloader / toy-OS questions, where there's been almost literally no change in the software interface for decades.)
I considered editing some of the questions, grabbing the HTML, but 1)
The HTML is often so huge, and it takes some time to figure out the minimum needed to reproduce the issue
It's not an editor's responsibility to dig an MCVE out of the full code!!! You're absolutely right, it takes real work, and an understanding of the code, to do this.
If someone wants answers from Stack Overflow, it's 99% their responsibility to do the work of creating an MCVE. (Many beginners don't understand the concept that the MCVE just has to have the same problem, it doesn't have to still do all the things that the original did, and in fact it's better if it doesn't try to do anything useful, just enough code to have the problem.)
If they just post a snippet of their code that's not actually Complete and Verifiable, it's not a MCVE and you are 100% justified in downvoting, and closing if you're pretty sure the state of the question would make answers not useful to other future readers. (e.g. because there's no way for people with the same actual problem to find this question by searching on the title or things that appear in the code.)
The more work put into making a nice MCVE and narrowing the problem, the more likely it is to be useful, at least as a duplicate for future questions where experienced users can see it's the same problem. Too much clutter and noise bogs it down, making a less useful duplicate. So that's a good reason to downvote questions with code that isn't a MCVE. (https://idownvotedbecau.se/nodebugging/ / https://idownvotedbecau.se/nomcve/).
Posting the full code in the question separate from an attempt at an MCVE would be something to consider, but definitely not instead of a MCVE, that would be https://idownvotedbecau.se/toomuchcode/.