Maybe diff should change to suit programs, rather than programs change to suit diff.
All that, just to not have to add a trailing comma ?
Certainly the idea has been suggested many times. I think people end up formatting both before/after and doing a diff on formatted before against formatted after. I've done that.