Whether that is a joke or not, I am astounded you have written that.
It sums up how unseriously homophobia is taken compared to, say, racism. You would have never made a similar joke regarding race.
A sexual preference is never going to carry the same status as a race. Since when has it been taboo to joke about sex?