When you have several modules in a project, and export a BoM, some parts are grouped in a single line, some others are not.
In the attached project, SW1 is condensed on a single line, but K, D1, etc are not