If your git squash contains all the commit messages, it’s a pain to figure out which commit message refers to which line of code.
A comment goes right there. No tools needed. Mutable. Readable. Contextually in place. And you can even add comments while coding without waiting for the commit.
You're not supposed to change commit messages.
The correct lines to blame are the ones right there, not exactly rocket science