Sharma had filed the mercy petition before the president on Wednesday, his lawyer had said.
In his televised address, Kovind said Gandhi’s ideals remain relevant in the nation-building efforts.
The President also noted that the framers of the Indian Constitution gave this invaluable right to all adult Indians without any discrimination.
The President’s visit to Sabarimala gains significance in the backdrop of the Supreme Court’s recent decision to refer the issue of women’s entry to a seven-judge bench.
Senior Congress leaders AK Antony, P Chidambaram, DMK leader TR Balu and TMC's Derek O'Brien accompanied Sonia Gandhi to the Rashtrapati Bhavan.
Singer Shashaa Tirupati is one of the National Film Award winners who will not be handed over the prestigious honour by the President.