Gras can grow around pine trees but often struggle because pine trees make the soil acidic more quickly than other areas of your yard. A simple pH test will determine if that is happening and how much lime you need to apply to correct the soil pH to the level (7.0) that grass prefers. HERE’S a link to more on pH testing.