ATHENS—Greece had a primary budget surplus of 0.2% of gross domestic product in 2015, according to senior government officials, who hope the better-than-expected outcome will help them to convince creditors that Greece doesn’t need extra austerity measures this year.