Joseph Gordon-Levitt and “The Dark Knight” screenwriter David S. Goyer have come on board to produce an adaptation of the DC Comics title “The Sandman” at Warner Bros.

Gordon-Levitt, who made his feature directorial debut on “Don Jon,” is also eyeing the project as a possible directing and starring vehicle. Neil Gaiman, who authored the graphic novel series, will exec produce.

“The Sandman” was published by DC Comics for 75 issues between 1989 and 1996. It centers on the character Dream, also known as the Lord of Dreams, Morpheus, Oneiros, the Shaper, the Shaper of Form, Lord of the Dreaming, the Dream King, Dream-Sneak, Dream Cat, Murphy, Kai’ckul, and Lord L’Zoril.

At the start of the series, the Morpheus character was captured and held prisoner for 70 years before escaping into the modern day and rebuilding his kingdom, which has fallen into disrepair.

Gordon-Levitt has appeared in a pair of Warner Bros.’ tentpoles — “The Dark Knight Rises” and “Inception” — and will be seen in The Weinstein Co.’s “Sin City: A Dame To Kill For.”

Gordon-Levitt and Goyer are repped by WME.

The news was first reported by the Deadline.com site.