Your proximity to blackness (having a black friend, partner etc) doesn’t prove you aren’t racist, plenty of racist people have black folk they care about, and they’re still racist.
This statement is correct. If you claim someone is racist tho you do have the burden of proof. They don’t have to disprove it if you have insufficient evidence.