Really. There was a lot of persecution of witches and wizards by muggles in the past. My understanding is that the Statute was put in place to protect us from it, to prevent it from happening ever again.
There are some muggles who know about it but most of them have close relatives that are a part of it. Either one of their children or a sibling has magic.