Not really a big fan of war movies...
I remember seeing a comedic one as a kid, but don't remember the title. It was WWII, and the crew had to leave the port in a sub that was primered, but not painted yet. So it was sort of a pink color.
Along the way, they rescued a bunch of nurses from a hospital ship (I think?). So they had these women always in the way, along with lingerie hanging everywhere.
One scene that sticks in my mind... they were doing reconnaissance along enemy shores, and one of the girls came through, lost her balance, and accidently hit a lever that fired a torpedo toward the beach. It went up on the beach, hit a military vehicle and exploded.
One of the guys told the skipper, "We just sunk a truck!"
Probably too silly to watch as an adult anyway.
I believe that was "Operation: Petticoat"
https://en.m.wikipedia.org/wiki/Operation_Petticoat