You can add `?w=1` to the github URL for the file diff to get it to ignore whitespace. (Unfortunately you can't comment in that view.)