That's the thing. it depends.
If it's loud static, then it's defect.
If it's a small hissing, than that's the onboard sound solution, and there is no fix, until manufactures uses dedicated sound card.
OnBoard sound chip:
The above is essentially the entire thing that processes and output the sound.
Dedicated sound card:
View of a dedicated sound card without the Electromagnetic shielding plate
As you can see, a dedicated sound card has a lot more components, and of much higher quality to process, convert from digital to analogue, and amplify the sound.
Many of them has even, dedicated power, like the one above, which is used to get a nice clean power and ground from your power supply, and use a common ground. In addition, the analogue area of the sound card is shielded against interference that occurs inside your system, and wireless devices.
If you want good, clear, lively, vivid, crisp sound, that is what you need.
Else you get what you get with the Surface Pro, or any other consumer computer with onboard sound solution: flat, mundane, lack of any med-range signal, staticky, can't drive any high impedance headphone, and prone to hear interference with the system.
You don't need 300$ headphones to enjoy the sound of a dedicated sound card. You should hear a noticeable difference (assuming your music is in high quality) with 30-50$ headphones.
Of course, the dedicated sound card above is a bit far fetch, but it's just to give an example of what is available on the market as internal sound card. You can imagine lower end card with less fancy component and no electromagnetic shielding plate.
As long as the consumer is content with onboard solution, don't expect any change. The reason why manufacture uses onboard sound card, is because they are 1-2$
If you look at Amazon.com, you can find them at <5$, and those are with USB adapter, and of course have to assume some profit. So having just the chip... yup, cheap.
The dedicated sound card above is around 200$. But they are decent ones at 50-70$ which still massacre onboard sound solutions.