The political office of the Palestinian militant group Hamas in Doha has not been permanently closed, Qatari foreign ministry spokesperson Majed Al-Ansari said on Tuesday.