In simple words :
Instead of change text inside elm to remove all break lines, why dont we just use this feature from TextBlock.
This will fix
1- If user toggle state of single line mode, text will return as it is.
old behavour: text will miss all its line and paragraphs breaks.
2- Enhance performance
3- Use single function for Line Mode, that all components uses.