The Grammy winner on venturing into comedy and how he related to his character’s sexuality struggles.