The Six Stages of Code Grief

https://suppo.fi/post/9016065

Honest question: would an LLM be able to write useful comments in code like this?
use the LLM to generate regression tests for the large file, then start refactoring it