But, if it was not being used in core, why would it cause the commenting system to break when it’s removed?

I think you can construct Insert (or Update?) database query without specifying columns, so maybe the system was confused by (too high) number of sent values...