Srinagar police have taken cognisance of derogatory sectarian remarks made by certain individuals and taking appropriate legal action against them, an official said.