In formatted text fields FT your number 2 is the valid solution.
A
A different approach e.g. in reports or observation is to put every line in a single segment in TX fields in a single segment and repeat the segments or to repeat the data fields with ~
In .
In binary encapsulated data fields ED you have to use the relevant encoding e.g. Hex or Base64.
This does not exclude that you will see different ways may themthey be valid or not