Is it cocky to say “I don’t like compliments because I know I’m not ugly I don’t need reminded” ?

A guy asked why I don’t like compliments he said he never met anyone who didn’t and I said maybe it’s my Asperger’s I just find them awkward and uncomfortable and I feel obliged to say something back I guess it’s just I don’t like compliments on my looks it’s superficial “I know I’m not ugly I don’t need reminded” that’s why and he looked shocked

Is it cocky to say “I don’t like compliments because I know I’m not ugly I don’t need reminded” ?
Post Opinion