Yes and no. The humor in Shazam is situational, rather than it being reliant upon one-liners or snappy dialogue. Shazam’s big appearance and bulk in a padded suit come across as intentional in terms of capitalizing on the humorous aspect of the Marvel movies. The humor sets the tone for the movie.
The response of the characters in the movie demonstrates the over the top humor aspect of these films. Much of the humor is purposeful. However, the humor in the Marvel movies can be very "inside," and only true Marvel movie fans would appreciate it.