NLOC is a command-line based source line counter tool. It counts the total number of comment, code and blank lines of source files. It is compatible with C, C++, C#, Java, Visual Basic, Pascal and Delphi languages and with Visual Studio project files.