Does foam rolling help runner's knee?
Honest answer: foam rolling can feel good and is fine as comfort work, but it doesn't address what causes runner's knee. A roller may ease thigh tightness. Progressive hip and knee exercises can help you tolerate the activities that bring on the pain.
Rolling the thigh muscles before a session can ease the sense of tightness and make exercises feel smoother. Just don't let it replace the loading work, and don't roll directly on the painful kneecap itself.
The IT band myth
A lot of foam-rolling advice targets the IT band on the outer thigh. The research is clear that rolling doesn't lengthen the band (it's an extremely tough structure), and 'releasing' it isn't the answer for outer-knee pain either. If your pain is specifically on the outside of the knee rather than around the kneecap, IT band irritation is one possibility, especially if the pain builds during a run. Hip strengthening is the best-supported approach there too, not rolling.
Where to put the effort
Combined hip-and-knee strengthening, which guidelines rate Grade A for runner's knee, is built up in phases from calming the joint to returning to impact. Rolling is an optional extra on top of that, never the main thing.
Full guide for Runner’s Knee · Sources for the full guide
Related: IT Band Syndrome