On Sat, 1 Dec 2018, Jürgen Spitzmüller wrote:
FWIW if you put the attached file into ~/.lyx/commands/ (or add the '\define "desep"' line if you already have a default.def file), you can easily get rid of all these inserted parbreaks by issuing "call desep" in the minibuffer.The command does not only remove paragraph breaks, but also changes the separators to normal separators.
Thanks, Jürgen. I've added it to the defaults.def file. Rich