The Syrian government has released 366 detainees from a prison in the northern province of Aleppo for humanitarian reasons, state news agency SANA reported Friday.