I hate to say this, but...

I hate to say this, but... is an idiom often used before mentioning something that is judgmental, insulting, self-satisfying or smug to someone else. By saying I hate to say this before you continue with your statement, it is somewhat of a way to protect yourself from being called a negative or hateful person and to try to show sympathy for what you are about to say.