Happy endings are a rare delight in comics, serving as a sort of treat for wading through the sea of dark or ambiguous endings generally found in the industry. Arguably, they're so unusual that even endings with dark undertones can appear happy, solely because they aren't as depressing as so many others.
And so even legitimately happy endings often aren't as positive as it would initially appear, because they tend to come with negative implications that go entirely overlooked in lieu of a sense of superhero-based closure.
While they vary heavily in how subtly they're implied, more often than not writers will sneak one or two concerning suggestions into their endings, possibly just to prove that in the comic industry, you can't have nice things. Better yet, sometimes a series will end in a way that's good for most people, but absolutely terrible for one character - and it's totally blown over, with the fate of this poor unfortunate seemingly entirely forgotten about.
And so, when they're not accidentally letting murderers go free, accidentally ending the world, or accidentally making everyone in Las Vegas be homeless, these endings are pretty happy - so long as you can ignore all that other stuff.