theres a time and place for comedy but for a scifi should be kept to a minimum.
I think of all things The Orville demonstrates that on both sides - for a show whose premise is "Seth MacFarlane wants to be a TNG-era Star Trek captain" you can see more of his comedy at the start than afterward, presumably because it needed to be a Seth MacFarlane comedy to get funded and then not so much once the funding was secure.
Usually this is because the capital doesn't generally change over time while the relative size of cities often does, especially on the scale of a century or more.