Which line terminators do Marlin 3D printers use on the serial port?

Marlin uses just \n (LF)  as a line terminator.