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

Mext
Free
CommitMonitor Portable (64-Bit)
FreeEditLive for Java
Trial versionA-Soft SysOCX Control
Trial version
Remove Tags From Multiple XML Files Software
Trial versionRAS Dial Up ActiveX
Trial versionASP.NET Web Controls
Trial versionMstHtmlEditor Control for .NET
Trial version
IDRIX Script Processor
FreeCreamake
Free
CommitMonitor (64-Bit)
Free
DSPatch
Free