# cloc
> Count blank lines, comment lines, and source code lines in many languages

## Summary
A tool for counting lines of code, comments, and blank lines across many programming languages.

## Capabilities
- Count lines of code in 600+ languages
- Differentiate between code, comments, and blanks
- Diff mode to compare code changes
- Multiple output formats (text, JSON, YAML, SQL)

## When to Use
- You need to count lines of code in a project
- You want codebase statistics

## When NOT to Use
- You need code complexity analysis (use scc instead)
- You need real-time monitoring

---
Source: https://littlescripts.sh/tools/cloc
