That's exactly the use case we want. We also let you specify the file path (ex: "main.py").
We noticed that Sweep's search works way better if there are comments, because the comments match up really well with the search queries (language <-> language is easier than language <-> code)