Indian markets closed marginally lower as select stocks like TCS, Meesho and Crompton Greaves gained on positive triggers, while Ola Electric, Hitachi Energy and Sun Pharma declined amid company-specific concerns.