Pakistan would treat it as "an act of war" if India revoked the Indus Water Treaty regulating river flows between the two nations, Pakistan's top foreign official said on Tuesday.