Sources tell Emily Smith that Aaron Sorkin and Courtney Love have been dating for a few months.Wireimage

In what sounds like an incredible story line from one of his hit dramas, Aaron Sorkin is romancing rocker Courtney Love.

Sources exclusively tell Page Six that Sorkin, 52, and Love, 49, have been seeing each other for a few months while she’s been staying in Los Angeles at the Chateau Marmont.

A source tells us: “He is intrigued by Courtney’s wit, while she says Aaron is a great influence on her. Some people might think they are an odd couple, but she likens them to Marilyn Monroe and Arthur Miller.”

Oscar and Emmy-winning screenwriter and producer Sorkin, whose works include “A Few Good Men,” “The West Wing” and “The Social Network,” is working on an untitled Steve Jobs project based on the book by Walter Isaacson, and another season of HBO’s “The Newsroom.” He’s known for putting references to his former girlfriends in his shows. He has dated Kristin Chenoweth, on whom he based his female lead in “Studio 60,” “Sex and the City” star Kristin Davis and ballet dancer Jacquelyn Reyes.

Kurt Cobain widow and Hole rocker Love, who’s heading into a court battle with her former lawyer next week in LA over disparaging tweets, completed a tour last year and has been discussing acting roles while in Hollywood.

She told Billboard last year she had recorded eight songs for a long-awaited new album, tentatively titled “Died Blonde.” And Love even recently hinted about a Hole reunion, sharing a photo of her and former Hole guitarist Eric Erlandson with the caption, “And this just happened. 2014 going to be a very interesting year.”

It appears that her friendship with Sorkin may have softened her. She wrote on Facebook on Dec. 25, “I think at nearly 50 the basis of any realtionship [sic] should be restraint and pragmatism before the big dramatic tsunami- s**t i wish i knew this at 20…. its important to leave romances nicely — and its 2014 so im letting alot of grudges just go.”

Reps for Love didn’t comment, a rep for Sorkin downplayed their romance by insisting “They are not dating.”