The comedian, actor, musician, and professional personality recounts a miserable breakup with disarming sincerity and grim humor on a solo debut steeped in rock history.