Certain Marvel films take the comedy too far (Thor 2 went from trying to be serious to pretty much a rom com, pick one, jeez)
But then again DC films are far too bleak and dark. There was not one (intentionally) funny moment in MOS. Even TDKR had a couple of jokes thrown in here and there. I mean c'mon, TRY to inject some fun to proceedings.
I like films that strike a happy medium. TWS, Avengers, DOFP are good examples of mixing comedy and drama well.
Although I can forgive if it sticks to one and does it well, like The Dark Knight or GOTG.
But to answer the OP I like Marvel's approach more. Just do, no particular reason