How to turn case light on/off in Marlin using G-Code

In order to turn the case light on in Marlin, use M355S1P255is full brightness:

M355S1P255

In order to turn the case light off, use S0

M355S0

In order to turn it on at half brightness, use P128

M355S1P128