EXCLUSIVE

"Community" creator Dan Harmon ... is divorcing his wife after barely a year of marriage ... the good news ... it's 5 times longer than Kim Kardashian's second.

Dan filed the docs two days shy of Christmas ... asking a judge to untie the knot with Erin McGathy.

The couple has been pretty open about the split ... it seems there are no hard feelings. Erin announced the news on Twitter, asking people to respect their privacy but adding, "we discuss it openly on our respective podcasts."

They have no kids and even though the marriage was a blink, she's asking for spousal support.

No word if there was a prenup. Seems like they won't have a lot of trouble splitting their assets with or without one ...