Trump has said he will consider pardoning the embattled New York City mayor, who was indicted on corruption charges in September.