Indian stock markets remained highly volatile on Wednesday, with benchmark indices ending the session almost flat.