It's more common than you might think. A lot of companies have open source codebases. In fact, I think almost every software engineer job I've had so far have had at least a little public code.
No, they're doing it for their comment, not suggesting others use it for code. It's the new take on "I do not give Facebook permission to use..." trend that went on years ago.