Rep. Alexandria Ocasio-Cortez says she will boycott President Donald Trump’s State of the Union speech rather than “legitimize” his “lawless” behavior, joining a small group of Democrats who refuse to attend.

The Bronx socialist’s jab came moments after Trump told TV news anchors at a pre-speech luncheon that he thought the 30-year-old Ocasio-Cortez would successfully run for Senate in 2022.

The waitress-turned-leftwing-icon joins fellow “Squad” member Ayanna Pressley (D-Mass.) in skipping the Tuesday night speech.

On Tuesday morning, longtime impeachment advocate Rep. Al Green (D-Texas), said he would not attend, labeling Trump “shameless, corrupt, & unapologetically bigoted.” Another Trump nemesis Rep. Maxine Waters (D-Calif.) said she would not attend to hear from a “dishonorable president.”

Ocasio-Cortez announced her decision on Twitter about five hours before the address, which White House aides say will be “positive” and “unifying.”

She wrote: “After much deliberation, I have decided that I will not use my presence at a state ceremony to normalize Trump’s lawless conduct & subversion of the Constitution. None of this is normal, and I will not legitimize it. Consequently, I will not be attending the State of the Union.”

Ocasio-Cortez’s office had not responded to previous inquiries from The Post about who she would bring as her guest to the address. Most other New York delegation offices gladly supplied the names of guests to push policy positions.

AOC attended the speech last year with guest Ana María Archila, co-executive director of the Center for Popular Democracy advocacy group.