I have only heard queer used as a pejorative.
Then you haven't been paying attention for the last 30+ years. "We're here, we're queer, get used to it" has been an activist chant since the 90s, started by a group called Queer Nation. The Q in LGBTQ+ stands for queer. If you were involved with the queer community, you would know that it is used as a self-identifier for any non-heteronormative person regularly these days.