An earthquake of magnitude 5.1 on the Richter Scale jolted Myanmar on Friday morning, National Center for Seismology (NCS) said.