Used NLOC for Windows?
Developer’s Description
NLOC is a command-line based source line counter tool. It supports various languages like C, C++, C#, Java, Visual Basic, Pascal, and Delphi, and is compatible with Visual Studio project and solution files. It generates textual reports and/or XML documents. It can be used from any external program, script or batch file. The results will be grouped by projects, which can be explicitly specified by the user.
Features include counts several statistics: total number and percentage of code, comment, and blank lines, recursive search for source files, filtering with wildcards, using projects as file groups, compatible with Visual Studio 2003 or 2005 project and solution files, and exporting reports to text files and XML documents.
Explore More

HTML Compiler
Trial version
SoftwareShield ISV Edition
Trial version
Cygwin
Free
X2X
Trial version
Remove Tags From Multiple XML Files Software
Trial versionASP.NET Video Starter Kit
Paid
Transparent Controls
Trial versionTwinsplay
Trial versionPDF Security Component
Trial versionMstHtmlEditor Control for .NET
Trial version
LogFaces Client (32-bit)
Trial version
CoreObjX
Trial version