I think 'Lost in Space' certainly shifted from being an ensemble adventure series about a family facing the unknown alien environment to this trio of comedians - Dr. Smith, the Robot, and Will Robinson being the straight guy. It definitely changed its tone over the three seasons and 84 episodes we did.
The first purpose of comedy is to make people laugh. Anything deeper is a bonus. Some comedians want to make people laugh and make them think about socially relevant issues, but comedy, by the very nature of the word, is to make people laugh. If people aren't laughing, it's not comedy. It's as simple as that.