A national political reporter wrote on Twitter that NBA legend Charles Barkley told her Tuesday night, “I don’t hit women, but if I did, I’d hit you.”

Alexi McCammond, an Axios reporter, said when she objected to his remark, Barkley told her she “couldn’t take a joke.”

McCammond wrote that Barkley made the remark in an off-the-record conversation in which she asked about which Democratic presidential candidate he supports. She said there are almost no instances in which she will break an off-the-record agreement, but that she felt the need to in this case because of his comment. “This is not OK,” she wrote.

McCammond said Barkley came into the event saying “he loves” former Massachusetts Gov. Deval Patrick, and once someone from South Bend Mayor Pete Buttigieg’s campaign came around, “he said he loved Pete.” When she reminded him he previously said he was a fan of Patrick, Barkley made the remark about hitting her.

Barkley, who serves as an analyst for "Inside the NBA" on TNT, did not immediately return a request for comment on Wednesday.

Nearly 2,500 people retweeted McCammond’s tweet as of Wednesday morning.

Many expressed support for McCammond, the 2019 recipient of the National Association of Black Journalists‘ Michael J. Feeney Emerging Journalist Award, and condemned Barkley’s remark.

McCammond said she did not wish to be the focus of a story, but that the incident is bigger than her because it touches on domestic violence, which is widespread.

“I encourage you to consider how you’d respond if a friend said something similar to what Barkley said tonight,“ she tweeted. “And then challenge yourself to ask the same of yourself if a stranger (or ’celebrity’) said that. I hope the answers are the same. Everyone should be held accountable.”

NBC News reached out to McCammond for comment but did not immediately hear back.