SlickEdit has some features for this. I'm not sure if it has inline code. Worth a try. If this does not work, let me know so that I can update my post.
SLOC Report The SLOC Report Tool provides an easy way to count lines of code. The number of lines is divided into three categories: code, comments, and spaces. After the lines of code have been calculated, the results are displayed in a pie chart. SLOC reports can be generated for solutions, projects, or individual files.
Gulzar nazim
source share