I agree, but you must also concede that not all developers are as proficient at git as you and might not be aware of such debugging/detective techniques. These same developers tend to favor print statements for debugging instead of an actual debugger. Also, not every developer has the privilege of using a DCVS like git.
For them, a comment in the code could save a lot of time and hassle.
For them, a comment in the code could save a lot of time and hassle.