Former Vice President Joe Biden spoke out against the violent assault on journalist Andy Ngo.

The Democratic presidential candidate “believes violence directed at anyone because of their political opinions is never acceptable, regardless of what those beliefs might be,” a campaign spokesman said in a statement to The Post. “He believes freedom of expression is fundamental to who we are as Americans, and that Andy Ngo’s attackers should be identified and investigated.”

Ngo, an editor of the website Quillette, was attacked by a mob of left-wing Antifa protesters in Portland on June 29, leaving him hospitalized with a brain hemorrhage.

Two other Democratic presidential candidates — Rep. Eric Swalwell of California and tech entrepreneur Andrew Yang — have also made statements denouncing the violence. Sen. Ted Cruz (R-Texas) called for an investigation.

“I haven’t heard from the [Portland] mayor or any local politicians. Their muted response has been deafening. I thank Yang, Swalwell, and Cruz for their public support,” Ngo said in a statement to The Post.