As described on ACM-1718, when there is a policy violation, users get a message which does not specify directly the lines triggering the violation.
The request would be that those lines are highlighted by the graphical console when the violation is reported. This would be probably the most efficient and user-friendly way to do it.
The way to highlight them could be for example to show the lines in a different colour.