Myanmar will release almost 25,000 prisoners in an amnesty to mark the traditional New Year, the president’s office said on Friday.