CHELSEA HANDLER’s TV bosses have told her to stop picking on Angelina Jolie – or there will be BIG trouble!

For years, the sarcastic comic, 38, has publicly ridiculed mom-of-six Angelina mostly out of loyalty to her best friend Jennifer Aniston – but now it could cost her big-time.

The ENQUIRER can reveal that her relentless barbs have gotten out of hand recently, rubbing her bosses the wrong way. Chelsea has not only belittled Angelina’s relationship with Brad Pitt and accused the pillow-lipped beauty of undergoing too much plastic surgery, she’s also mocked the United Nations goodwill ambas­sador’s humanitarian work.

And that’s apparently been too much for Angelina’s high-powered showbiz allies at Comcast, which oversees both Universal studios and Handler’s “Chelsea Lately” show on the E! Network. So corporate honchos have stepped in to muzzle Chelsea.

“Angelina has a lot of support at the top and they’re dying to lock her into a long-term contract,” noted a source. “They don’t like the fact that Chelsea has really been saying some horrible things about her.

“For starters, she’s been accusing Angelina of being a plastic surgery-obsessed phony whose looks are fading

fast. Chelsea also believes Angelina found the way to Brad’s heart through kinky sex, and that’s the only reason she was able to ‘steal’ him from Jennifer.

“But perhaps worst of all, Chelsea has dis­missed all of Angelina’s humanitarian work, saying that she’s only involved with good causes because it helps her image.”

Those hostilities have apparently tested the patience of the corporate honchos, who are rallying around their darling.

“Universal wants to create a home for Angelina, and that means she can’t have any hostility coming her way from other employees, including Chelsea,” explained the source. “That’s why they read her the riot act.”

Handler’s hatred of Jolie began after the ‘Tomb Raider” sexpot was accused of seducing Brad Pitt on the set of “Mr. & Mrs. Smith” in 2004, when he was still married to Aniston. In March of this year, Chelsea called Jolie ‘‘a de­mon” on Bravo’s “Watch What Happens Live.” And in previous years, she’s given interviews blasting Angelina as “a homewrecker” and other things not fit to print.

But now, Chelsea has apparently ac­cepted the fact that she needs to tone down her act.

“Chelsea’s not happy about it,” said the source, “but she’s been banned from spewing any more anti-Jolie gags, at least for the next couple of months.”