This is a part of the rsyslog.conf documentation.Back to rsyslog.conf manual
Lines can be continued by specifying a backslash ("\") as the last
character of the line. There is a hard-coded maximum line length of 4K.
If you need lines larger than that, you need to change compile-time settings inside rsyslog and recompile.