BRUSSELS—The European Commission is leaning toward proposing a ban on the issuing of sovereign credit ratings for countries in bailout talks, a top official said on Thursday.

"I think it's legitimate to have a special treatment when a country is in negotiation or is covered by an international solidarity program with the IMF or a European solidarity" program, said Michel Barnier, European internal market commissioner.

Should...