How low can you go?

To flatten XML down to one line in Visual Studio you could install CodeMaid.

But personally I prefer to do it manually:
  1. Ctrl+H
  2. Find what: \n{:b:b}
  3. Replace with:
  4. Look in: Current Document
  5. Use Regular Expressions


Or to restore the indentation: Ctrl+K, Ctrl+D

Comments