Additionally, flame is very restricted on a sub. You wouldn't be using any sort of methane to cook.
https://qr.ae/prgBKF
https://qr.ae/prgBsh
https://www.answers.com/Q/What_fuel_does_a_submarine_use_for...