Is Xander ever NOT obnoxious?

I'm doing my annual Buffy rewatch (thanks Amazon Prime) and I cannot stand Xander, especially his relationships with women. I'm pretty sure he's supposed to be some sort of stand in for Whedon; did he intend to make him that unbearable? Am I missing something?

#teamanya