As I know of (and I think people can support me with this, especially on Wc3C where various tests have been done abou this) If ANY code is cut from the map externally then it will cause a desync. i.e. if a player used an external program to prevent the map from executing JASS code then that player would get disconnected (desync) because the net traffic will not match the host.
Wc3 implemented this for such reasons
It
can be done in single player, because there is only one player (the host) but that is not really an issue. The only other case that such a tool would work is if
everyone including the host was to use it, that way all the data between all the computers would be synchronised. This however would be highly unlikely (if not improbable)