His diagnosis led to tributes from dozens of fellow stand-ups. Those inspired his novel show, featuring famous peers and recorded in the hospital. It can get dark.