Question: is burnt ghee safe to eat?
Answer: If it smells burnt, the best thing you can do is throw it away and not ruin any more of your good ingredients by cooking in it. If it does not taste/smell burnt, and only looks cloudy etc., try cooking one small dish in it and see how it tastes. If it comes out okay, use it. Otherwise throw it away.