The story I'm writing have its epicness and drama, but I also want it to be funny, with jokes, puns, etc., made by a character (mostly) or the narrator himself; funny situations, and so on. 

But I fear that the plot would be ruined by such comicalness, kind of breaking the immersion or emotion, or making the readers to start to expect every scene to be humorous and not take them seriously.

Am I right? Should I limit to one or two funny scenes, or decrease the level of "funnyty", like slight jokes? Or is it possible to a story to be epic/dramatic and funny at the same time?