Logo, the gay-oriented cable channel, yesterday yanked a Paris Hilton documentary — apparently in retaliation for Hilton’s gay-slurring comments recorded in the back of a New York City cab.

“Paris Hilton Inc.,” produced in 2007 back when Hilton was still considered an A-list celeb, was set to air at 8 this morning, and again on Friday. But in a cryptic note sent out yesterday, Logo announced that the show “has been removed from the schedule.”

Network sources confirmed that the doc was killed because of Hilton’s comments.

On Sept. 7, while shuttling between Fashion Week parties in Manhattan, she was secretly recorded by a cabdriver, who then turned the tapes over to radaronline.com. “Gay guys are the horniest people in the world,” she said. “They’re disgusting. Dude, most of them probably have AIDS.”