An approach to determine where which comments should be valid