Hello,
SVG support is not limited to 2048 characters. Also the strings are not limited. From your description I suppose you address a limitation of the Code Editor. Code lines longer than 2048 characters are automatically broken. New, unexpected Line-Feed is added then to the code. If this is the case, you can try following:
1. If the long SVG line is found in the implementation of a method, you can divide the long SVG string in multiple shorter strings and concatenate them with the + operator as shown below:

2. If you want the long SVG string to be assigned to a constant, variable, etc. member, then copy and paste the string directly in the Inspector window without using the Code Editor window as shown below:

Does it help you further?
Best regards
Paul Banach