... What did I just read? (But seriously, why would you ever have a file of what looks like at least some sort of tests but literally every line commented out?)
Because they theoretically worked at some point but now they do not.
You are obviously right but the question is still valid. They are using git and a deleted file is a one command away, so why keep the file but fully commented?
IMO this highlights further bad engineering culture.