Of course there's resistance to that, because that's reducing the characters to stereotypical ideas of female behavior, and second, it's out of character: "Where's the logic in commenting on my hair?"
We'll just give the line to Bones, then. Upon noticing Spock's IDIC beret, Bones will sashay up to her and deliver the line, adding, "... and I love your IDIC, Spock! Where did you get that?" As Spock tries to outpace her, throwing Bones poisonous darts, with her eyeballs.